//
//  headimageModel.m
//  mosad_hw_fin
//
//  Created by student9 on 2021/1/7.
//  Copyright © 2021 student9. All rights reserved.
//

#import "headimageModel.h"

@implementation headimageModel
static headimageModel *_instance = nil;

+(instancetype) shareInstance {
    static dispatch_once_t onceToken ;
    dispatch_once(&onceToken, ^{
        _instance = [[super allocWithZone:NULL] init] ;
    }) ;
    return _instance ;
}

- (instancetype) init{
    return self;
}

+(id) allocWithZone:(struct _NSZone *)zone {
    return [headimageModel shareInstance] ;
}

-(id) copyWithZone:(struct _NSZone *)zone {
    return [headimageModel shareInstance] ;
}

- (void) generateData {
    self.headimage_url = @"notlogin";
    self.name = @"未登录";
    self.ID = @"notlogin";
    self.host_str = @"http://127.0.0.1:12345/";
}
@end
